package cn.school.classManage.entity;

import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName t_class_curriculum_user
 */
@TableName(value ="t_class_curriculum_user")
@Data
public class ClassCurriculumUser implements Serializable {
    /**
     * id
     */
    @TableId
    private String  id;

    private static final long serialVersionUID = -5185856751596741480L;
    /**
     * 主表ID
     */
    private String mainId;

    /**
     * 周一课程ID
     */
    private String mondaySubjectId;
    /**
     * 周一班级
     */
    private String mondayName;

    private String tuesdayName;

    private String wednesdayName;

    private String thursdayName;

    private String fridayName;

    private String saturdayName;

    private String sundayName;

    /**
     * 周二课程ID
     */
    private String tuesdaySubjectId;

    /**
     * 周三课程ID
     */
    private String wednesdaySubjectId;

    /**
     * 周四课程ID
     */
    private String thursdaySubjectId;

    /**
     * 周五课程ID
     */
    private String fridaySubjectId;

    /**
     * 周六课程ID
     */
    private String saturdaySubjectId;

    /**
     * 周日课程ID
     */
    private String sundaySubjectId;

    /**
     * 状态 0-无效 1-有效
     */
    private String detailStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 修改人
     */
    private String modifyBy;

    private String modeTime;

    /**
     * 租户人
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();


    /**
     * 节次ID
     */
    private String  sessionsId;


}